/*
 * File      : uart_tx.h
 *
 *
 * Change Logs:
 * Date           Author       Notes
 * 2015-7-13      zsf      	   The first version for stm32f107
 */

#ifndef __XTEND_H__
#define __XTEND_H__

extern uint8_t g_xtend_transmit_mode;

uint8_t xtend_enter_command_mode(void);
uint8_t xtend_read_tx_power_level(uint8_t * power_level);
uint8_t xtend_read_signal_strength(char * signal_strength);
uint8_t xtend_set_tx_power_level(uint8_t power_level);
uint8_t xtend_save_parameters(void);
uint8_t xtend_quit_command_mode(void);
uint8_t xtend_wait_response(int32_t timeout);

#endif

